package cn.controlsys.dao;

import cn.controlsys.model.RechargeProduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface RechargeProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RechargeProduct record);

    int insertSelective(RechargeProduct record);

    RechargeProduct selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RechargeProduct record);

    int updateByPrimaryKey(RechargeProduct record);

    void insertRechargeProductBatch(List<RechargeProduct> list);

    String selectProductId(@Param("city") String city,@Param("company") String company);
}